<extend name="Public/common" />
<block name="body">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>系统信息配置</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">返佣</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="commission" value="{$config.commission}" placeholder="请填写返佣金额" id="commission">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">vip</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="vip" value="{$config.vip}" placeholder="请填写vip金额" id="vip">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">天使合伙人价格</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="first" value="{$config.first}" placeholder="请填写天使合伙人金额" id="first">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">梦想合伙人价格</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="second" value="{$config.second}" placeholder="请填写梦想合伙人金额" id="second">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">天使合伙人名额</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="firstnum" value="{$config.firstnum}" placeholder="请填写天使合伙人名额" id="firstnum">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">梦想合伙人名额</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="secondnum" value="{$config.secondnum}" placeholder="请填写梦想合伙人名额" id="secondnum">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" id="save">保存内容</button>
                                    <button class="btn btn-white" type="button" onclick="reset();">重置</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        //定义全局变量
        var GV = {
            system_siteconfig : "{:U('Sys/sys')}"
        };

        //重置操作
        function reset(){
            $("input[name='copyright']").val("");
            $("input[name='icp']").val("");
            $("#count").val("");
        }
    </script>
    <script src="__JS__/http/system/siteconfig.js"></script>
</block>